<%--
  Created by IntelliJ IDEA.
  User: Shuwei  Wang
  Date: 2020/6/16
  Time: 10:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>持明法洲登录页面</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/main.css" media="all">
    <link rel="stylesheet"  href="${pageContext.request.contextPath}/css/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
</head>

<body class="layui-layout-login">

    <div class="login-bg">
        <div class="cover"></div>
    </div>


<div class="login-content" >
    <h1 class="login-box-title" align="center"><i class="fa fa-fw fa-user" ></i>登录</h1>

    <form class="layui-form" action="${pageContext.request.contextPath}/admin/selectOne" method="post">

        <div class="layui-form-item">
            <label class="layui-icon layui-icon-username" for="username"></label>
            <input class="layui-input" type="text" name="id" id="username" placeholder="用户名">
        </div>

        <div class="layui-form-item">
            <label class="layui-icon layui-icon-password" for="password"></label>
            <input class="layui-input" type="password" name="password" id="password" placeholder="密码">
        </div>

        <div class="layui-form-item captcha-item">
            <label class="layui-icon layui-icon-vercode"></label>
            <input class="layui-input" type="text" name="code" autocomplete="off" placeholder="验证码">
            <img class="captcha-img" src="${pageContext.request.contextPath}/createCaptcha" onclick="this.src=this.src+'?'"/>
        </div>

        <button type="submit" class="layui-btn layui-btn-fluid ajax-login"><i class="fa fa-sign-in fa-lg fa-fw"></i> 登录</button>
    </form>

</div>
    <script src="${pageContext.request.contextPath}/layui/layui.js"></script>
<script src="${pageContext.request.contextPath}/js/jquery-1.12.4.js"></script>
<script type="text/javascript">

</script>
</body>


</html>
